import { getJoinUsInfo } from '../../api/user/user'
const wxParse = require('../../wxParse/wxParse.js');
Page({
    data: {},
    onLoad: function () {
        this.getJoinUs()
    },
    onReady: function () {
    },
    onShow: function () {
    },
    onHide: function () {
    },
    onUnload: function () {
    },
    onPullDownRefresh: function () {
    },
    onReachBottom: function () {
    },
    getJoinUs(){
        var that = this;
        wx.$api.getJoinUsInfo().then(res=>{
            var parseContent = wxParse.wxParse('article', 'html', res.data.article_content, that, 5)
              that.setData({
                  info:res.data
              })
        })
    }
});
